//
//  TTShopCartMultyViewCell.h
//  TaoTuo
//
//  Created by admin on 2019/9/2.
//  Copyright © 2019 admin. All rights reserved.
//

#import <UIKit/UIKit.h>
@class TTShopCartMultyViewCell;
@class TTShopCartMultyModel;
@class TTShopCartSubDetailModel;

@protocol TTShopCartMultyViewCellDelegate <NSObject>

- (void)shopCartMultyViewCell:(TTShopCartMultyViewCell *_Nullable)cell deleteModel:(TTShopCartSubDetailModel *_Nullable)deleteModel;

///删除裸石
- (void)shopCartMultyViewCell:(TTShopCartMultyViewCell *_Nullable)cell deleteLuoshiModel:(TTShopCartSubDetailModel *_Nullable)deleteModel;

- (void)lookDiamondDetailWithMultyViewCell:(TTShopCartMultyViewCell *_Nullable)cell goodsBarCode:(NSString *)goodsBarCode;

@end

NS_ASSUME_NONNULL_BEGIN

@interface TTShopCartMultyViewCell : UITableViewCell

@property (nonatomic, assign) id<TTShopCartMultyViewCellDelegate> delegate;

// 是否可选
- (void)setMultyModel:(TTShopCartMultyModel *)multyModel canSelect:(BOOL)canSelect sectionViewCanSelect:(BOOL)sectionViewCanSelect;

// 是否可选，是否来自订单页面
- (void)setMultyModel:(TTShopCartMultyModel *)multyModel canSelect:(BOOL)canSelect sectionViewCanSelect:(BOOL)sectionViewCanSelect isFromCommitOrder:(BOOL)isFromCommitOrder;

@end

NS_ASSUME_NONNULL_END
